package com.hk.huakangcompany.service;

import java.io.IOException;
import java.util.List;

/**
 * @Author: zhe
 * @Date: 2021/6/8 14:53
 * @Statement: 公共Service层接口
 */
public interface BaseService<T> {

    List<T> findAll(Integer page, Integer limit,T t);

    int count(Integer page, Integer limit,T t);

    T findById(Integer id);

    int save(T t);

    int update(T t) throws IOException;

    int delete(Integer id) throws IOException;

}
